package com.pond.pond.config;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignInnerConfig {
    @Bean
    public RequestInterceptor innerAuthInterceptor() {
        return requestTemplate -> requestTemplate.header("from-source", "inner");
    }
}
